*GPDSpecVersion: "1.0"
*Include: "StdNames.gpd"
*GPDFileVersion: "1.0"
*GPDFileName: "DP660.GPD"
*ModelName: "Lenovo DP660"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "DP660.Dll"
*PrinterType: SERIAL
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: TRACTOR
    *Option: TRACTOR
    {
        *rcNameID: =TRACTOR_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>0"
        }
    }
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>0"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "180 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(180, 180)
        *TextDPI: PAIR(180, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 180
        EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
        *SpotDiameter: 120
        *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{(NumOfDataBytes / 3) } }
    }
    *Option: Option2
    {
        *Name: "360 x 360 " =DOTS_PER_INCH
        *DPI: PAIR(360, 360)
        *TextDPI: PAIR(360, 360)
        *PinsPerLogPass: 48
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 360
        EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
    }
    *Option: Option3
    {
        *Name: "360 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(360, 180)
        *TextDPI: PAIR(360, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 360
        EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{(NumOfDataBytes / 3) } }
    }
    *Option: Option4
    {
        *Name: "120 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(120, 180)
        *TextDPI: PAIR(120, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
*% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{(NumOfDataBytes / 3) } }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: A4
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CB"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3060, 3803)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 3802)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 3802)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 3802)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 3761)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 3760)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 3760)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 3760)
                    }
                }
            }
        }
    }
    *Option: Option2
    {
        *rcNameID: 258
        *OptionID: 258
        *PageDimensions: PAIR(3060, 1980)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C!"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3060, 1823)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1823->1822) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1822)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (1823->1822) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1822)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1823->1822) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1822)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 1781)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1781->1780) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1780)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (1781->1780) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1780)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1781->1780) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1780)
                    }
                }
            }
        }
    }
    *Option: Option3
    {
        *rcNameID: 259
        *OptionID: 259
        *PageDimensions: PAIR(3060, 1320)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<16>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3060, 1163)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1163->1162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1162)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (1163->1162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1162)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1163->1162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1162)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 1121)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1121->1120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1120)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (1121->1120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1120)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1121->1120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 1120)
                    }
                }
            }
        }
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CT"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3060, 4883)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4883->4882) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4882)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4883->4882) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4882)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4883->4882) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4882)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4841)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4841->4840) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4840)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4841->4840) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4840)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4841->4840) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4840)
                    }
                }
            }
        }
    }
    *Option: TABLOID
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>Cf"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3960, 5963)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (5963->5962) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3960, 5962)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (5963->5962) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3960, 5962)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (5963->5962) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3960, 5962)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3960, 5921)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (5921->5920) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3960, 5920)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (5921->5920) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3960, 5920)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (5921->5920) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3960, 5920)
                    }
                }
            }
        }
    }
    *Option: EXECUTIVE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C?"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2610, 3623)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3623->3622) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2610, 3622)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3623->3622) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2610, 3622)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3623->3622) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2610, 3622)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2610, 3581)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3581->3580) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2610, 3580)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3581->3580) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2610, 3580)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3581->3580) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2610, 3580)
                    }
                }
            }
        }
    }
    *Option: FOLIO
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CN"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3060, 4523)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4523->4522) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4522)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4523->4522) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4522)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4523->4522) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4522)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4481)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4481->4480) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4480)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4481->4480) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4480)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4481->4480) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4480)
                    }
                }
            }
        }
    }
    *Option: Option8
    {
        *rcNameID: 261
        *OptionID: 261
        *PageDimensions: PAIR(5954, 8416)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<8C>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 8416)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 8245)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (8245->8244) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4896, 8244)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (8245->8244) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4896, 8244)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (8245->8244) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4896, 8244)
                    }
                }
            }
        }
    }
    *Option: A3
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>Cc"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4208, 5797)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (5797->5796) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 5796)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (5797->5796) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 5796)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5797->5796) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4206, 5796)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4208, 5755)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (5755->5754) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 5754)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (5755->5754) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4208, 5754)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (5755->5754) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4206, 5754)
                    }
                }
            }
        }
    }
    *Option: Option10
    {
        *rcNameID: 262
        *OptionID: 262
        *PageDimensions: PAIR(5954, 4208)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>3<121B>Cu"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4208)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
*% Warning: this paper size exceeds the MaxWidth, imageable width is truncated .
                *PrintableArea: PAIR(4896, 4037)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4037->4036) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4896, 4036)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4037->4036) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4896, 4036)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4037->4036) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4896, 4036)
                    }
                }
            }
        }
    }
    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CF"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2977, 4051)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4051->4050) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4050)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4051->4050) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2977, 4050)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4051->4050) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4050)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2977, 4009)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4009->4008) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4008)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4009->4008) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2977, 4008)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
*% Warning: the following printable length is adjusted (4009->4008) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4008)
                    }
                }
            }
        }
    }
    *Option: A4_TRANSVERSE
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C2"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4208, 2820)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(4206, 2820)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4208, 2778)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(4206, 2778)
                    }
                }
            }
        }
    }
    *Option: A5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C2"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2099, 2820)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2098, 2820)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2097, 2820)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2099, 2778)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2098, 2778)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2097, 2778)
                    }
                }
            }
        }
    }
    *Option: B4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CV"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3643, 5002)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3642, 5002)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3642, 5002)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3643, 4960)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3642, 4960)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3642, 4960)
                    }
                }
            }
        }
    }
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C="
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2581, 3486)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2580, 3486)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2580, 3486)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2581, 3444)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2580, 3444)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(2580, 3444)
                    }
                }
            }
        }
    }
    *Option: Option16
    {
        *rcNameID: 263
        *OptionID: 263
        *PageDimensions: PAIR(2880, 2160)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C$"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2880, 2003)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (2003->2002) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2880, 2002)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (2003->2002) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2880, 2002)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (2003->2002) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2880, 2002)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2880, 1961)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (1961->1960) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2880, 1960)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (1961->1960) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2880, 1960)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (1961->1960) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2880, 1960)
                    }
                }
            }
        }
    }
    *Option: Option17
    {
        *rcNameID: 264
        *OptionID: 264
        *PageDimensions: PAIR(3600, 3960)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CB"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3600, 3803)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3600, 3802)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3600, 3802)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3600, 3802)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3600, 3761)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3600, 3760)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3600, 3760)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3600, 3760)
                    }
                }
            }
        }
    }
    *Option: Option18
    {
        *rcNameID: 265
        *OptionID: 265
        *PageDimensions: PAIR(4500, 3960)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CB"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4500, 3803)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4500, 3802)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4500, 3802)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3803->3802) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4500, 3802)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4500, 3761)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4500, 3760)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4500, 3760)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (3761->3760) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(4500, 3760)
                    }
                }
            }
        }
    }
    *Option: FANFOLD_STD_GERMAN
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CH"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3060, 4163)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4163->4162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4162)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4163->4162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4162)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4163->4162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4162)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4121)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4121->4120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4120)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4121->4120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4120)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4121->4120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4120)
                    }
                }
            }
        }
    }
    *Option: Option20
    {
        *rcNameID: 267
        *OptionID: 267
        *PageDimensions: PAIR(2976, 4320)
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CH"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2976, 4163)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4163->4162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4162)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4163->4162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4162)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4163->4162) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4162)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2976, 4121)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4121->4120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4120)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4121->4120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4120)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4121->4120) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(2976, 4120)
                    }
                }
            }
        }
    }
    *Option: FANFOLD_LGL_GERMAN
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>CN"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3060, 4523)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4523->4522) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4522)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4523->4522) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4522)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4523->4522) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4522)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3060, 4481)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable length is adjusted (4481->4480) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4480)
                    }
                    *case: Option3
                    {
*% Warning: the following printable length is adjusted (4481->4480) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4480)
                    }
                    *case: Option4
                    {
*% Warning: the following printable length is adjusted (4481->4480) so it is divisible by the resolution Y scale.
                        *PrintableArea: PAIR(3060, 4480)
                    }
                }
            }
        }
    }
    *Option: ENV_9
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<17>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3197, 1240)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3196, 1240)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3197->3195) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3195, 1240)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3197, 1198)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3197->3196) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3196, 1198)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3197->3195) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3195, 1198)
                    }
                }
            }
        }
    }
    *Option: ENV_10
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<19>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3420, 1330)
                *PrintableOrigin: PAIR(0, 86)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3420, 1288)
                *PrintableOrigin: PAIR(0, 128)
            }
        }
    }
    *Option: ENV_DL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<1A>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3118, 1402)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3118->3117) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3117, 1402)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3118, 1360)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3118->3117) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3117, 1360)
                    }
                }
            }
        }
    }
    *Option: ENV_C5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C&"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3247, 2140)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3246, 2140)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3246, 2140)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3247, 2098)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option1
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3246, 2098)
                    }
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3247->3246) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3246, 2098)
                    }
                }
            }
        }
    }
    *Option: ENV_B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C*"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(3542, 2338)
                *PrintableOrigin: PAIR(0, 86)
                *switch: Resolution
                {
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3540, 2338)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(3542, 2296)
                *PrintableOrigin: PAIR(0, 128)
                *switch: Resolution
                {
                    *case: Option4
                    {
*% Warning: the following printable width is adjusted (3542->3540) so it is divisible by the resolution X scale.
                        *PrintableArea: PAIR(3540, 2296)
                    }
                }
            }
        }
    }
    *Option: ENV_MONARCH
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *RotateSize? : TRUE
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C<17>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2700, 1240)
                *PrintableOrigin: PAIR(0, 86)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2700, 1198)
                *PrintableOrigin: PAIR(0, 128)
            }
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(180, 180)
        *MaxSize: PAIR(5940, 32767)
        *MaxPrintableWidth: 4896
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
            *case: MANUAL
            {
                *TopMargin: 128
                *BottomMargin: 43
            }
        }
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
        }
    }
}
*Feature: Halftone
{
    *rcNameID: =HALFTONING_DISPLAY
    *DefaultOption: HT_PATSIZE_AUTO
    *Option: HT_PATSIZE_AUTO
    {
        *rcNameID: =HT_AUTO_SELECT_DISPLAY
    }
    *Option: HT_PATSIZE_SUPERCELL_M
    {
        *rcNameID: =HT_SUPERCELL_DISPLAY
    }
    *Option: HT_PATSIZE_6x6_M
    {
        *rcNameID: =HT_DITHER6X6_DISPLAY
    }
    *Option: HT_PATSIZE_8x8_M
    {
        *rcNameID: =HT_DITHER8X8_DISPLAY
    }
}
*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B1D1E0601011B1D1F1B>@<1B>t<011B>6<1B>R<001B>r<00>"
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "<0D>"
}
*Command: CmdEndJob
{
    *Order: JOB_FINISH.1
    *Cmd: "<1B>@<1B1D1E0601001B1D1F>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
    *case: PORTRAIT
    {
        *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
    }
    *case: LANDSCAPE_CC270
    {
        *TextCaps: LIST(TC_RA_ABLE)
    }
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 360
*YMoveUnit: 180
*Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
*Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[24,255]{(LinefeedSpacing / 2) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
*Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
*EjectPageWithFF?: TRUE
*switch: PaperSize
{
    *case: CUSTOMSIZE
    {
        *EjectPageWithFF?: FALSE
        *switch: InputBin
        {
            *case: MANUAL
            {
                *EjectPageWithFF?: TRUE
            }
        }
    }
}
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultCTT: 1
*Command: CmdBoldOn { *Cmd : "<1B>E" }
*Command: CmdBoldOff { *Cmd : "<1B>F" }
*Command: CmdItalicOn { *Cmd : "<1B>4" }
*Command: CmdItalicOff { *Cmd : "<1B>5" }
*Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
